﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BanVeXemPhim_Presentation
{
    public class KhachHangControl
    {
        private KhachHangDAO _khachHangDao;
        public KhachHangControl()
        {
            _khachHangDao=new KhachHangDAO();
        }

        public KhachHangDAO KhachHangDao
        {
            get { return _khachHangDao; }
            set { _khachHangDao = value; }
        }

        public void ThemKhachHang(KhachHangDTO khachHangDto)
        {
            _khachHangDao.ThemKhachHang(khachHangDto);
        }
        public int LayIdKhachHang(KhachHangDTO khachHangDto)
        {
            return _khachHangDao.LayIdKhachHang(khachHangDto);
        }
    }
}
